package day8;

import org.junit.Test;

public class Soo {

    static int a=1;
    static int s=1;
@Test
    public void staticMeqthod(){

        System.out.println(s);
        System.out.println(a);
    }


    @Test
 public void test02(){
            Soo s1=new Soo();
            Soo s2=new Soo();
           Soo s3=new Soo();
          System.out.println(s3.a +" : "+s3.s);

        }

         //Soo的定义




            public Soo(){
                     a++;
                     s++;
                }


}
